package com.leave.mos.service;

import com.leave.mos.entity.User;

import java.util.Collection;
import java.util.List;

public interface MongodbInsertService {


    User insert(User user);

    User insertTable(User user);

    User insertClass(User user);

    Collection<User> insertBatchClass(User users);

    Collection<User> insertBatchTable(User users);

    Collection<User> insertAll(User users);
}
